home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Network Login User.xpl < prev    next >
Text File  |  1999-10-21  |  844b  |  37 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="1"
  4. "UIPATH"="Network\Login\3) Inside Login Window"
  5. "NAME"="Next Username"
  6. "VERSION"="1.12"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Username"
  9. "DESCRIPTION 1"="This plug-in can be used to change the username that will be displayed in the next login window."
  10. "AUTHOR"="Xteq Systems"
  11. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  12. "COMMENT 1"="For more information, go to http://www.xteq.com"
  13.  
  14.  
  15. sP="HKLM\Network\Logon\"
  16. sV1="Username"
  17.  
  18. Sub Plugin_Initialize 
  19.  if RegPathExists(sp) then
  20.   s=RegReadValue(sp&sv1)
  21.   SetUIElement 1,s
  22.  else 
  23.   Disable
  24.  end if
  25. End Sub
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  s=GetUIElement(1)
  32.  Call RegWriteValue(sp&sv1,s,1)
  33. End Sub
  34.  
  35. Sub Plugin_Terminate 
  36. End Sub
  37.